package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 创客动态对象 daily_activity
 *
 * @author ruoyi
 * @date 2024-12-05
 */
public class DailyActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 动态的唯一标识 (UUID) */
    private String activityId;

    /** 动态标题 */
    @Excel(name = "动态标题")
    private String name;

    /** 动态详情 */
    @Excel(name = "动态详情")
    private String nameDetail;

    /** 热点排序字段，值越小越靠前，NULL 表示非热点 */
    @Excel(name = "热点排序字段，值越小越靠前，NULL 表示非热点")
    private Integer top;

    /** 配图管理信息 */
    private List<ActivityPictureMapping> activityPictureMappingList;

    public void setActivityId(String activityId)
    {
        this.activityId = activityId;
    }

    public String getActivityId()
    {
        return activityId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setNameDetail(String nameDetail)
    {
        this.nameDetail = nameDetail;
    }

    public String getNameDetail()
    {
        return nameDetail;
    }
    public void setTop(Integer top)
    {
        this.top = top;
    }

    public Integer getTop()
    {
        return top;
    }

    public List<ActivityPictureMapping> getActivityPictureMappingList()
    {
        return activityPictureMappingList;
    }

    public void setActivityPictureMappingList(List<ActivityPictureMapping> activityPictureMappingList)
    {
        this.activityPictureMappingList = activityPictureMappingList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("name", getName())
            .append("nameDetail", getNameDetail())
            .append("createTime", getCreateTime())
            .append("top", getTop())
            .append("activityPictureMappingList", getActivityPictureMappingList())
            .toString();
    }
}
